<template>
    <van-config-provider>
        <RouterView v-slot="{ Component }">
            <transition :name="UIStore.RouteState">
                <component :is="Component" />
            </transition>
        </RouterView>
        <PageLoading />
    </van-config-provider>
</template>
<script setup>
import { UseUIStore } from "./store/UI";
import { provide } from 'vue';
import request from "./utils/request";
const UIStore = UseUIStore();
provide('http', request);
</script>
<style lang="less" scoped></style>